package com.example.jyjava.dao;

import com.example.jyjava.bean.Comment;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommentDao {
    public int addComment(Comment comment);

    public List<Comment> getComment(@Param("shopId") Integer shopId);

    public Comment getCommentSin(@Param("shopId") Integer shopId,@Param("userId") Integer userId,@Param("orderId") Integer orderId);
}
